import re

name = '/1123/1'

name = re.sub('[/]', '', name)
print(name)